<androidx.constraintlayout.widget.ConstraintLayout
		android:layout_width="match_parent"
		android:layout_height="match_parent" android:layout_weight="1"
		xmlns:android="http://schemas.android.com/apk/res/android"
		xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
		 android:id="@+id/settings">

	<LinearLayout
			android:orientation="horizontal"
			android:layout_width="297dp"
			android:layout_height="95dp"
			android:id="@+id/linearLayout"
			app:layout_constraintTop_toBottomOf="@+id/night_over"
			app:layout_constraintStart_toStartOf="@+id/textView12"
			android:layout_marginTop="20dp">

		<Switch
				android:text="Switch"
				android:layout_width="105dp"
				android:layout_height="wrap_content"
				android:id="@+id/switch1" />

		<Switch
				android:text="Switch"
				android:layout_width="134dp"
				android:layout_height="wrap_content"
				android:id="@+id/switch2"
				tools:layout_editor_absoluteX="82dp" />
	</LinearLayout>

	<TextView
			android:text="RGB  эффек горячий"
			android:layout_width="154dp"
			android:layout_height="32dp"
			android:id="@+id/textView6"
			app:layout_constraintTop_toBottomOf="@+id/textView9"
			app:layout_constraintStart_toStartOf="@+id/textView5"
			android:layout_marginTop="40dp" />

	<Spinner
			android:layout_width="109dp"
			android:layout_height="30dp"
			android:id="@+id/hot_spin"
			android:entries="@array/led_modes"
			app:layout_constraintTop_toTopOf="@+id/textView6"
			app:layout_constraintStart_toEndOf="@+id/textView6"
			android:layout_marginStart="15dp" />

	<TextView
			android:text="RGB  эффек холодный"
			android:layout_width="154dp"
			android:layout_height="30dp"
			android:id="@+id/textView5"
			android:layout_marginTop="36dp"
			app:layout_constraintTop_toTopOf="@+id/guideline2"
			app:layout_constraintStart_toStartOf="parent"
			android:layout_marginStart="24dp" />

	<Spinner
			android:layout_width="109dp"
			android:layout_height="30dp"
			android:id="@+id/cold_spin"
			android:entries="@array/led_modes"
			app:layout_constraintTop_toTopOf="@+id/textView5"
			app:layout_constraintStart_toEndOf="@+id/textView5"
			android:layout_marginStart="15dp" />

	<Spinner
			android:layout_width="109dp"
			android:layout_height="30dp"
			android:id="@+id/night_light_spin"
			android:entries="@array/led_modes"
			app:layout_constraintTop_toTopOf="@+id/textView12"
			app:layout_constraintStart_toEndOf="@+id/textView12"
			android:layout_marginStart="15dp" />

	<LinearLayout
			android:orientation="horizontal"
			android:layout_width="30dp"
			android:layout_height="30dp"
			android:clickable="true"
			android:fadingEdge="horizontal|vertical"
			android:background="@android:color/black"
			android:id="@+id/lay_color1"
			android:onClick="showDialog"
			app:layout_constraintTop_toTopOf="@+id/night_light_spin"
			app:layout_constraintStart_toEndOf="@+id/night_light_spin"
			android:layout_marginStart="15dp"
			app:layout_constraintBottom_toBottomOf="@+id/night_light_spin"></LinearLayout>

	<TextView
			android:text="RGB  эффек ночник"
			android:layout_width="154dp"
			android:layout_height="32dp"
			android:id="@+id/textView12"
			app:layout_constraintTop_toBottomOf="@+id/textView10"
			app:layout_constraintStart_toStartOf="@+id/textView5"
			android:layout_marginTop="40dp" />

	<Spinner
			android:layout_width="109dp"
			android:layout_height="30dp"
			android:id="@+id/warm_spin"
			android:entries="@array/led_modes"
			app:layout_constraintTop_toTopOf="@+id/textView9"
			app:layout_constraintStart_toEndOf="@+id/textView9"
			android:layout_marginStart="15dp" />

	<TextView
			android:text="RGB  эффек вскипел"
			android:layout_width="154dp"
			android:layout_height="32dp"
			android:id="@+id/textView10"
			app:layout_constraintTop_toBottomOf="@+id/textView9"
			app:layout_constraintStart_toStartOf="@+id/textView5"
			android:layout_marginTop="100dp" />

	<TextView
			android:text="RGB  эффек нагрева"
			android:layout_width="154dp"
			android:layout_height="30dp"
			android:id="@+id/textView8"
			android:layout_marginTop="28dp"
			app:layout_constraintTop_toBottomOf="@+id/textView5"
			app:layout_constraintStart_toStartOf="@+id/textView5" />

	<TextView
			android:text="RGB  эффек теплый"
			android:layout_width="154dp"
			android:layout_height="30dp"
			android:id="@+id/textView9"
			app:layout_constraintTop_toBottomOf="@+id/textView8"
			app:layout_constraintStart_toStartOf="@+id/textView5"
			android:layout_marginTop="40dp" />

	<Spinner
			android:layout_width="109dp"
			android:layout_height="30dp"
			android:id="@+id/hotting_spin"
			android:entries="@array/led_modes"
			app:layout_constraintTop_toTopOf="@+id/textView8"
			app:layout_constraintStart_toEndOf="@+id/textView8"
			android:layout_marginStart="15dp" />

	<Spinner
			android:layout_width="109dp"
			android:layout_height="30dp"
			android:id="@+id/vskipel_spin"
			android:entries="@array/led_modes"
			app:layout_constraintTop_toTopOf="@+id/textView10"
			app:layout_constraintStart_toEndOf="@+id/textView10"
			android:layout_marginStart="15dp" />

	<androidx.constraintlayout.widget.Guideline
			android:orientation="horizontal"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			app:layout_constraintGuide_begin="16dp"
			android:id="@+id/guideline2" />

	<CheckBox
			android:text="внезависимости от состояния"
			android:layout_width="277dp"
			android:layout_height="32dp"
			android:id="@+id/night_over"
			app:layout_constraintTop_toBottomOf="@+id/textView12"
			app:layout_constraintStart_toStartOf="@+id/textView12"
			android:layout_marginTop="8dp" />
</androidx.constraintlayout.widget.ConstraintLayout>
